<extend name="Public:base"/>


<block name="left">
	<ul>
		<li><a href="{:U('Activity/add')}">添加活动</a></li>
		<li>信息列表</li>
		<li><a href="">学业贷活动</a></li>
		
	</ul>
</block>

<block name="right">
	<table class="table table-hover">
	<thead>
		<th>id</th>
		<th>标题</th>
		<th>内容</th>
		<th>21</th>
		<th></th>
		<th></th>
		<th></th>
	</thead>
	<tbody>

		
	
	<foreach name="activity.lists" item="pl" >
		<tr>
			<td>{$pl.id}</td>
			<td>{$pl.title}</td>
			<td>{$pl.money}</td>
			<td>{$pl.number}</td>
			<td>{$pl.mobile}</td>
			<td>{$pl.address}</td>
			<td>{$pl.des|htmlspecialchars_decode=### }</td>
			<td></td>
			
			<td>{$pl.create_time|date="Y-m-d H:i:s", ###}</td>
			<td>
				<a class="btn btn-xs btn-warning" href="{:U('Activity/edite',array('id'=>$pl['id']))}">编辑</a> 
				<a class="btn btn-xs btn-danger js_del del" href="{:U('Activity/delete',array('id'=>$pl['id']))}"> 删除</a>
			</td> 

		</tr>
	</foreach>	

	</tbody>
	<tfoot>
		<th colspan="6">{$activity_list.page}</th>
	</tfoot>


	</table>

		<script type="text/javascript" src='__JSA__/jquery-1.7.2.min.js'></script>
	<script type="text/javascript">
		$(function () {

			$( '.del' ).click( function () {
				return confirm('确认删除该分类？');
			} );
		});
	</script>
</block>
